package com.jiexinyun.dto.request.androidworktask;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Schema(description = "通过码值查询即将登记的任务为了上报 根据工步码查询任务实际存在情况 去生产指令的工艺路线去查询")
public class QueryWorkTaskRegByCodeReq {

    @NotNull(message = "ryId")
    @Schema(description = "人员ID", example = "101")
    private Integer ryId;

    @NotBlank(message = "码值不允许为空")
    @Schema(description = "码值", example = "0014-01")
    private String code;

}
